@echo off
set cam0=cam0
set cam1=cam1
set cam2=cam2
set cam4=cam4
set cam5=cam5
set cam6=cam6
set cam7=cam7
set h264=.h264
set mp4=.mp4
ffmpeg -f h264 -i cam0.h264 -vcodec copy cam0.mp4
ffmpeg -f h264 -i cam1.h264 -vcodec copy cam1.mp4
ffmpeg -f h264 -i cam2.h264 -vcodec copy cam2.mp4
ffmpeg -f h264 -i cam3.h264 -vcodec copy cam3.mp4
ffmpeg -f h264 -i cam4.h264 -vcodec copy cam4.mp4
ffmpeg -f h264 -i cam5.h264 -vcodec copy cam5.mp4
ffmpeg -f h264 -i cam6.h264 -vcodec copy cam6.mp4
ffmpeg -f h264 -i cam7.h264 -vcodec copy cam7.mp4
